package com.hbplat.shardingsphere.enumeration.projectfile;

/**
 * 　　* @description: 附件任务执行状态(1.待执行，2.执行成功，3.执行失败)
 * 　　* @param ${tags}
 * 　　* @return ${return_type}
 * 　　* @throws
 * 　　* @author 陈宇
 * 　　* @date $date$ $time$
 *
 */
public enum TaskStatusEnum {
    ONE(1,"待执行"),
    TWO(2,"执行成功"),
    THREE(3,"执行失败"),
    ;

    private final int code;
    private final String desc;


    TaskStatusEnum(int code, String desc){
        this.code = code;
        this.desc = desc;
    }

    public int getCode(){
        return code;
    }
    public String getDesc(){
        return desc;
    }
}
